package com.xk.account;

public class Account {
  private String card    ;
  private String password;
  private String NAME    ;
  private Double balance ;

    public Account() {
    }

    public Account(String card, String password, String NAME, Double balance) {
        this.card = card;
        this.password = password;
        this.NAME = NAME;
        this.balance = balance;
    }

    public String getCard() {
        return card;
    }

    public void setCard(String card) {
        this.card = card;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getNAME() {
        return NAME;
    }

    public void setNAME(String NAME) {
        this.NAME = NAME;
    }

    public Double getBalance() {
        return balance;
    }

    public void setBalance(Double balance) {
        this.balance = balance;
    }

    @Override
    public String toString() {
        return "Account{" +
                "card='" + card + '\'' +
                ", password='" + password + '\'' +
                ", NAME='" + NAME + '\'' +
                ", balance=" + balance +
                '}';
    }
}
